package com.weetop.cfw.base.presenter

import com.weetop.cfw.home_page.activity.PublishActivity

interface PublishPresenter:BasePresenter {

    /**
     * 获取所有站点数据
     */
    fun getAllSitesData(publishActivity: PublishActivity)

    /**
     * 获取建筑类型
     */
    fun getBuildType(publishActivity: PublishActivity)

    /**
     * 发布出租出售信息
     */
    fun publishLeaseSaleInformation(publishActivity: PublishActivity,publishMap:HashMap<String,String>)

    /**
     * 行业数据
     */
    fun getIndustryList(publishActivity: PublishActivity)

    /**
     * 面积归类数据
     */
    fun areaClassificationList(publishActivity: PublishActivity)

    /**
     * 根据选择的站点获取下面对应的区县
     * @param cityId 城市ID
     */
    fun getDistrictAndCountyData(publishActivity: PublishActivity,cityId:Int)

    /**
     * 获取当前城市对应的站点数据
     * @param cityName 城市名称
     */
    fun getSiteInfoByCity(publishActivity: PublishActivity,cityName:String)

    /**
     * 根据站点ID获取出租价格单位
     */
    fun getPriceUnitBySiteId(publishActivity: PublishActivity,siteId:Int)

    /**
     * 上传图片
     */
    fun uploadWorkshopDetailImage(publishActivity: PublishActivity,newHeadImgFile: String)


}